//
//  YXConstant.h
//  HotalProject
//
//  Created by jun on 2017/10/24.
//  Copyright © 2017年 dw. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString * const TAG_TOKEN;
extern NSString * const TAG_INDUSTRY_TYPE;
extern NSString * const TAG_ELECTRICITY_TYPE;
extern NSString * const TAG_CONFIG_SEARCHPRICELIST;

#define color33 RGBHex(0x333333)
#define color66 RGBHex(0x666666)
#define color99 RGBHex(0x999999)
#define colorcc RGBHex(0xcccccc)

#define white_color RGBHex(0xffffff)
#define red_color RGBHex(0xff0000)
#define black_color RGBHex(0x000000)
#define transparent_color RGBHex(0x00000000)

#define bet_tab_unselect_color RGBHex(0xdadada)
//58BA9D
#define bet_main_color RGBHex(0x58BA9D)
#define bet_main_disable_color RGBHex(0xD8CEC3)
#define bet_bg_color RGBHex(0xf9f9f9)
#define bet_main_light_color RGBHex(0x8E9CB7)
#define bet_index_message_bg_color RGBHex(0xF3F5F7)
#define bet_index_charge_text_color RGBHex(0x98A4BD)
#define bet_index_charge_bg_color RGBHex(0xF6F9FF)
#define bet_skip_btn_bg_color RGBHex(0xAAAFB8)
#define bet_nav_bg_color RGBHex(0xffffff)
#define bet_nav_title_text_color RGBHex(0x333333)
#define bet_top_tab_normal_color RGBHex(0x7B8BAB)
#define bet_cell_color RGBHex(0xffffff)
#define bet_login_input_hint_color RGBHex(0xbbbbbb)
//EDEFF6
#define bet_dialog_input_color RGBHex(0xEDEFF6)
#define bet_dialog_input_hint_color RGBHex(0x98A4BD)
#define bet_forget_pwd_normal_line_color RGBHex(0xF2F6F9)
#define bet_line_color RGBHex(0xD8D8D8)
#define bet_message_unread_color RGBHex(0xC55055)
#define bet_trade_log_nav_bg_color RGBHex(0xE6EAEF)
#define bet_pay_ing RGBHex(0xEC9221)
#define bet_pay_default RGBHex(0x999999)
#define bet_pay_fail RGBHex(0xFF6666)
#define bet_delgate_login_input_bg_color RGBHex(0xD8D8D8)
#define bet_delegate_center_bg_color RGBHex(0xF4F4F4)
#define bet_search_dianzi_nav_bg_color RGBHex(0xF4F4F4)

#define bet_charge_suc RGBHex(0x30AD8F)
#define bet_toast_error RGBHex(0xC55055)
#define bet_minedata_unset_color RGBHex(0xFF6666)


@interface YXConstant : NSObject

+(NSString*)nowMonthDay;
+(NSString*)lastMonthDay;
+(NSString*)lastNumDay:(NSUInteger)num;

+(NSString*)getDay:(NSString*)date;
+(NSString*)date2String:(NSDate*)date;
+ (NSString *)fileSizeWithInterge:(NSInteger)size;
//+(NSData *)imageData:(UIImage *)myimage;
@end
